package cn.bgs.service;

import cn.bgs.pojo.EmployeeInfo;
import cn.bgs.pojo.EmployeeRegister;
import com.github.pagehelper.PageInfo;

public interface EmpService {
    PageInfo<EmployeeInfo> findAll(Integer pageNum, Integer pageSize);

    EmployeeRegister login(String email, String password);


    void add(EmployeeInfo employeeInfo);



    void delete(Integer pkId);

    void register(String username, String email, String password);
}
